package com.shao.service;


import com.shao.bean.teacher;
import com.shao.common.R;
import com.shao.common.addTeacherVo;
import com.shao.common.admTeacherInfo;

import java.util.List;

/**
 * @author: com.song shao
 * @date: 2022/2/28
 * @time: 10:05
 * @version: 1.0
 */
@SuppressWarnings("all")
public interface teaService {


    /**
     * 管理员查询老师的信息
     *
     * @return
     */
    List<admTeacherInfo> admFindTeacherInfo();

    /**
     * 添加账号
     *
     * @param adm
     * @return
     */
    boolean addTeacher(addTeacherVo adm);

    /**
     * 教师登录验证
     *
     * @param teacher
     * @return
     */
    R loginVerify(teacher teacher);


}
